<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: bobo
  Date: 16-10-28
  Time: 下午2:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<div>
    <c:if test="${user.photo.status==0}">图像审核中</c:if>
    <c:if test="${user.photo.status==1 || user.photo.status==4}">
        <img src="${user.photo.img}" height="50" width="50">
    </c:if>
    <a href="${pageContext.request.contextPath}/user/updImg">更新头像</a>
    用户名：${user.name}
    性别：
    <c:if test="${user.sex==0}">男</c:if>
    <c:if test="${user.sex==1}">女</c:if><br>
    生日：${user.birthday}<br>
    电话：${user.phone}<br>
    邮箱：${user.email}<br>
    地址：${user.address}<br>
    <a href="${pageContext.request.contextPath}/user/upd">更新资料</a>
    <a href="${pageContext.request.contextPath}/user/updPassword">修改密码</a><br>
    <a href="${pageContext.request.contextPath}/user/*">发表的文章</a>
    <a href="${pageContext.request.contextPath}/user/*">收藏的文章</a>

</div>
</body>
</html>
